package com.zyx.mapper;

import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface DbMapper {

    @Select("select @@version")
    public String version();

    @Select("show tables")
    public List<String> tbs();

    @Select("select sid,sname from student")
    public List<Map<String,Object>> queryAll();
}
